View Issue Details

IDProjectCategoryView StatusLast Update
0001391K18X001.00 SKB SWANSWpublic2022-01-10 09:39
Reporter(SW) Dean ChiangAssigned To(ALTech) Wooshin Kang Due Date
PrioritynormalSeveritys4-minorReproducibilityrandom
Status closedResolutionreopened 
Summary0001391: Boot failing issue
DescriptionIt shows boot animation then block screen and log shows it crash.
Our factory report the issue that fail rate is 5/1753 pcs = 0.29%
SW version is 19.531.20
TagsNo tags attached.
Attach Tags

Users monitoring this issue

User List (ALTech) SY Yoon , (SW) Jacky Chiang , (SW) River Wong

Activities

(SW) Dean Chiang

2021-11-11 16:32

developer  

Boot failing.mp4 (7,890,608 bytes)   
logcat.log (3,612,052 bytes)

(ALTech) Wooshin Kang

2021-11-11 17:02

developer   ~0008713

Hi Dean,

According to log, there are tombstone file. Can you give us ?
"10-12 19:27:21.437 545 - E /system/bin/tombstoned Tombstone written to: /data/tombstones/tombstone_06"

After checking tombstones, I will discuss it with SPTEK.

Thanks.

(SW) Dean Chiang

2021-11-11 17:13

developer   ~0008714

Hi Wooshin,

We don't have the tombstone because we get the log by log_mode.
Attached the full log file.

Thank you.
USB file.7z (481,831 bytes)

(ALTech) Wooshin Kang

2021-11-12 08:02

developer   ~0008715

Hi Dean,

You can find tombstones in /data/tombstones.
Please try.

Thanks.

(ALTech) Wooshin Kang

2021-11-12 08:07

developer   ~0008716

FYI
It is reported to SKB.
https://jira.skbroadband.com/browse/BTVSBOX-583

(SW) Dean Chiang

2021-11-12 17:11

developer   ~0008728

Hi Wooshin,

It's report by factory and FW is user build, so it can't access by console.
And re-update FW will resolve this issue, so this NG board is repaired.
I'll request factory try use keep_data and re-update to user debug when issue happens.

(SW) River Wong

2021-12-08 15:34

developer   ~0008869

Hi Wooshin,

Based on the information from https://172.18.223.170/vaas/view.php?id=1398, we think this mantis is related to mantis 1398.
We found during setupwizard is displayed, if the Power key of Front Panel or RCU's power key (RUC Top right button or Top middle button) is pressed, the SKB Login UI will shows up. It will generate /data/user/0/com.skb.tv/app_xwalkcore/icudtl.dat.
So, if box is powering off during pressing Power key of Front Panel or RCU's power key, it will cause black screen issue.
Also, we think the SetupWizard should not be bypassed with any mehtod.

So, we need your help to ask SPTEK to add protection code about not to run SKB login UI when Power key of Front Pannel or RCU's power key is pressed before SetupWizard is finished.
Please also add this proctection code for Eagle project.

Current Wrong Behavior:
1. Stay in SetupWizard.
2. Press Power key.
3. SKB Login UI is displayed.

Expected Behavior:
1. Stay in SetupWizard.
2. Press Power key.
3. Still in SetupWizard (com.skb.tv should not run to avoid generate icudtl.dat).

(SW) River Wong

2021-12-10 09:46

developer   ~0008896

Last edited: 2021-12-10 09:46

HI Wooshin,

Please check my above request in 0001391:0008869.

(SW) Dean Chiang

2021-12-22 10:03

developer   ~0008982

Add factory workaround use a power extension cord with an independent switch for pwoer off/on test.

(SW) River Wong

2021-12-22 15:19

developer   ~0009023

Hi Wooshin,

Please notify us after SPtek fix the issue that I report in 0001391:0008869.
Then we can notify factory while this issue is fixed.

(ALTech) Wooshin Kang

2021-12-23 07:52

developer   ~0009030

HI River,

SPTEK fixed it and it is checked in my simple test.
We can notify to your factory.

Thanks.

(SW) River Wong

2021-12-23 09:08

developer   ~0009031

Hi Wooshin,

Thanks for your information.
Do you know which SPTEK commit fixes it? Then we can know if next release image for factory will include this fix.

(SW) River Wong

2021-12-23 10:03

developer   ~0009034

Last edited: 2021-12-23 10:04

Hi Wooshin,

I did some tests on latest daily build image in http://altserver01.iptime.org/release_by_fxn/swan_nightly/SD_IMG/BFX-UA300_20211223_SD_v532r17_D344/.
I think SPTEK does not fix it. They only avoid to regenerate icudtl.dat when using "pm clear com.skb.tv".

I did the following tests:
1. In google Setupwizard, if I press "power" button of front panel, it still show SKB login UI and icudtl.dat is generated at this moment.
2. If I replace the incorrect icudtl.dat of mantis1398 into SWAN (to simulate power off in generating icudtl.dat), com.skb.tv app still fail to initialze and UI will be black.

So, please at least ask SPTEK to avoid entering login UI(or to avoid generating icudtl.dat) while pressing power key before Setupwizard is finished.

(ALTech) Wooshin Kang

2021-12-24 08:01

developer   ~0009093

Hi River,
They are working now for below.
"So, please at least ask SPTEK to avoid entering login UI(or to avoid generating icudtl.dat) while pressing power key before Setupwizard is finished."

Thanks

(SW) River Wong

2021-12-30 17:42

developer   ~0009182

Hi Wooshin,

Could you let us know when SPTEK will fix it?

(ALTech) Wooshin Kang

2022-01-03 08:37

developer   ~0009185

Last edited: 2022-01-03 08:38

Not yet.
You can monitor it at below link.
https://jira.skbroadband.com/browse/BTVV-3644

(ALTech) Wooshin Kang

2022-01-03 08:57

developer   ~0009186

Hi River,
In " If I replace the incorrect icudtl.dat of mantis1398 into SWAN (to simulate power off in generating icudtl.dat), com.skb.tv app still fail to initialze and UI will be black"

Can you attache file which you use to test ?

Thanks

(SW) River Wong

2022-01-03 10:45

developer   ~0009188

Here you are.
icudtl.dat (10,127,200 bytes)

(ALTech) Wooshin Kang

2022-01-03 15:00

developer   ~0009195

Hi River,

SPTEK recognizes two file is same if two file's size is same. So it is not recovered if you replace it to your file.

Thanks.

(SW) River Wong

2022-01-03 16:09

developer   ~0009196

Hi Wooshin,

But this file is from field about the problematic box. So, just check the file size is not enough. Maybe they need to check the md5 of the file.

(ALTech) Wooshin Kang

2022-01-03 18:49

developer   ~0009198

I agree with you but they have no will to add that.
Anyway, i will discuss more with them.

Thanks.

(SW) River Wong

2022-01-07 09:47

developer   ~0009295

Hi Wooshin,

For this issue about our request to block power key in setupwizard, I think SPTEK already committed the code and our test result is ok for their commit.
But for the protection of icudtl.dat file, I think we can not do any code change to help it. It need SPTEK to fix it. So, I think we can close this issue.
If you need any help to verify SPTEK's fix about protecting icudtl.dat, please just tell us directly.

commit c76d2e5d7e98440ac91ba3f414a08d6c0f36a100 (HEAD, skb/BFX-UA300_5.3.2, m/BFX-UA300_5.3.2)
Author: echwang <echwang@sptek.co.kr>
Date: Wed Jan 5 14:04:28 2022 +0900

    [BTVD-18821] fixed

    install wizard 에서 power key 예외 처리 추가

Issue History

Date Modified Username Field Change
2021-11-11 16:32 (SW) Dean Chiang New Issue
2021-11-11 16:32 (SW) Dean Chiang Status new => assigned
2021-11-11 16:32 (SW) Dean Chiang Assigned To => (ALTech) Wooshin Kang
2021-11-11 16:32 (SW) Dean Chiang File Added: Boot failing.mp4
2021-11-11 16:32 (SW) Dean Chiang File Added: logcat.log
2021-11-11 16:33 (SW) Dean Chiang Issue Monitored: (ALTech) SY Yoon
2021-11-11 16:34 (SW) Dean Chiang Issue Monitored: (SW) Jacky Chiang
2021-11-11 16:35 (SW) Dean Chiang Issue Monitored: (SW) River Wong
2021-11-11 17:00 (SW) Dean Chiang Description Updated
2021-11-11 17:02 (ALTech) Wooshin Kang Note Added: 0008713
2021-11-11 17:13 (SW) Dean Chiang File Added: USB file.7z
2021-11-11 17:13 (SW) Dean Chiang Note Added: 0008714
2021-11-12 08:02 (ALTech) Wooshin Kang Note Added: 0008715
2021-11-12 08:07 (ALTech) Wooshin Kang Note Added: 0008716
2021-11-12 17:11 (SW) Dean Chiang Note Added: 0008728
2021-11-26 15:08 (SW) Dean Chiang Assigned To (ALTech) Wooshin Kang => (SW) Dean Chiang
2021-11-26 15:08 (SW) Dean Chiang Status assigned => closed
2021-11-26 15:08 (SW) Dean Chiang Resolution open => fixed
2021-12-08 14:51 (SW) Jacky Chiang Assigned To (SW) Dean Chiang => (ALTech) Wooshin Kang
2021-12-08 14:51 (SW) Jacky Chiang Status closed => assigned
2021-12-08 15:34 (SW) River Wong Status assigned => feedback
2021-12-08 15:34 (SW) River Wong Note Added: 0008869
2021-12-08 15:37 (SW) River Wong Status feedback => assigned
2021-12-08 15:37 (SW) River Wong Status assigned => feedback
2021-12-10 09:46 (SW) River Wong Status feedback => assigned
2021-12-10 09:46 (SW) River Wong Note Added: 0008896
2021-12-10 09:46 (SW) River Wong Note Edited: 0008896
2021-12-22 10:03 (SW) Dean Chiang Assigned To (ALTech) Wooshin Kang => (SW) Dean Chiang
2021-12-22 10:03 (SW) Dean Chiang Status assigned => closed
2021-12-22 10:03 (SW) Dean Chiang Note Added: 0008982
2021-12-22 15:19 (SW) River Wong Assigned To (SW) Dean Chiang => (ALTech) Wooshin Kang
2021-12-22 15:19 (SW) River Wong Status closed => feedback
2021-12-22 15:19 (SW) River Wong Resolution fixed => reopened
2021-12-22 15:19 (SW) River Wong Note Added: 0009023
2021-12-23 07:52 (ALTech) Wooshin Kang Note Added: 0009030
2021-12-23 09:08 (SW) River Wong Note Added: 0009031
2021-12-23 10:03 (SW) River Wong Note Added: 0009034
2021-12-23 10:04 (SW) River Wong Note Edited: 0009034
2021-12-24 08:01 (ALTech) Wooshin Kang Note Added: 0009093
2021-12-24 16:41 (SW) River Wong Severity s2-severe => s4-minor
2021-12-30 17:42 (SW) River Wong Note Added: 0009182
2022-01-03 08:37 (ALTech) Wooshin Kang Note Added: 0009185
2022-01-03 08:38 (ALTech) Wooshin Kang Note Edited: 0009185
2022-01-03 08:57 (ALTech) Wooshin Kang Note Added: 0009186
2022-01-03 10:45 (SW) River Wong File Added: icudtl.dat
2022-01-03 10:45 (SW) River Wong Note Added: 0009188
2022-01-03 15:00 (ALTech) Wooshin Kang Note Added: 0009195
2022-01-03 16:09 (SW) River Wong Note Added: 0009196
2022-01-03 18:49 (ALTech) Wooshin Kang Note Added: 0009198
2022-01-07 09:47 (SW) River Wong Note Added: 0009295
2022-01-10 09:39 (SW) River Wong Status feedback => resolved
2022-01-10 09:39 (SW) River Wong Status resolved => closed